#{extends 'main.html' /}
#{set title:'CoolSoft - Requested projects' /}

<h2>Requested Projects</h2><hr/>

#{if projects.size()==0}
No projects requests exist now
#{/if}
#{else}
#{list items:projects, as:'project'}
	Name:
		${project.name}
	<br>
	Description:
		${project.description}
	<br>
	#{form @Users.respondToProjectRequest(project.getEntityId())}
	<input type="radio" name="accepted" value="true" />accept
	<br>
	<br>
	<input type="radio" name="accepted" value="false" />reject
	<br>
	<br>
	<input type="submit" value="Respond" />	
	<br>
	<br>
#{/form}
#{/list}
	<br>
#{/else}
	

